<?php
namespace app\api\controller;
use getui\GeTui;
class Push
{
	private $appkey = '';
    private $appid = '';
    private $mastersecret = '';
    
    public function push()
    {
        $geTui = new GeTui();
        $cid = 'ee9e14f06acea8f97771841957573460';
        $cids = ['25affe97903d1f5176b62e57e12047be','797b7570545c416513f1606bdf5beb49','ee9e14f06acea8f97771841957573460'];
        //单推

        //dd($geTui->pushToSingleByCid($cid));
        //多推
        dd($geTui->pushListByCid($cids));
        die;
        //群推
        $geTui->pushAll();
    }
}